import {parse} from 'qs';

export default {
    namespace: 'group',
    state: {},
    subscriptions: {
        setup({dispatch, history}) {
            history.listen(location => {
                if (location.pathname === '/group') {
                    dispatch({
                        type: 'aside/updateSelectKey',
                        payload: {selectedKeys: ['group']}
                    })
                }
            });
        },
    },

};
